package dao;

import pojo.Menu;
import pojo.User;

import java.util.List;

public interface ShiroDAO {

    User getUserByUserName(String userName);

    List<String> getRoleByUserName(String userName);

    List<String> getPermsByRoleName(String roleName);

    List<String> getUserPermsByUserName(String userName);

    List<Menu> getMenuPerms();
}
